package t.l.component;

import java.awt.Color;
import java.awt.Graphics;
import javax.swing.JComponent;

public class Table extends JComponent {
  @Override public void paint(Graphics g) {
    Color originColor = g.getColor();
    g.setColor(Color.RED);
    g.fillOval(0, 0, getWidth(), getHeight());
    g.setColor(originColor);
  }
}
